package com.example.myCommandLineRunner;

/**
 * Created by Administrator on 2017/1/10 0010.
 * 服务启动执行
 */

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(value=2)
public class MyAppStartupRunner1 implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("<<<<<<<<<<<<这个是测试ApplicationRunner接口111>>>>>>>>>>>>>>");
    }
}